﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Left.aspx.cs" Inherits="Admin.Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="/admin/Css/rightbar.css?FileVersion=<%=Admin.BaseCommon.BasePage.FileVersion %>"
        rel="stylesheet" type="text/css" />
    <script src="/admin/Scripts/jquery-1.4.1.min.js?FileVersion=<%=Admin.BaseCommon.BasePage.FileVersion %>"
        type="text/javascript"></script>
</head>
<body id="leftbar">
    <div class="wleft">
        <div class="mainleft">
            <%=leftList %>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            $("#leftbar a").each(function (i) {
                $(this).click(function () {
                    $("#leftbar dd").css("backgroundImage", "");
                    this.parentNode.style.backgroundImage = "url(/admin/Images/bluestyle/leftbar_selected_bg.jpg)";
                });
                //if (i == 0) {
                //    this.parentNode.style.backgroundImage = "url(/admin/Images/bluestyle/leftbar_selected_bg.jpg)";
                //}
                $(this).addClass("black");
                $(this).attr("target", "mainFrame");
            });
        });
    </script>
</body>
</html>
